package com.springbootx.outlogs.async;

import javax.websocket.Session;
import java.io.IOException;
import java.util.Map;

/**
 * @author Tony.niu (hystrix0779@yeah.net)
 * @version V1.0
 * @date 2020/7/11
 **/
public interface AsyncService {
    /**
     * 读取日志
     * @param sessionMap map
     * @param session  session
     * @param lengthMap map
     */
    void readLogs(Map<String, Session> sessionMap, Session session, Map<String, Integer> lengthMap) throws IOException;
}
